@import "color";

.nav-logo {
  height: 90px;
  display: flex;
  padding: 5px;

  img {
    height: 80px;
  }

  h2 {
    line-height: 80px;
    padding-left: 20px;
    color: $hoverColor;
    font-weight: bold;
  }
}

.navbar {
  background-color: $mainColor;
  border-radius: 5px;
  padding: 0px 20px;

  .nav-item {
    width: 95px;

    .nav-link {
      color: white;
      text-align: center;
      font-size: 15px;
      font-family: 'Roboto-Light';
      line-height: 1.2;

      &:hover {
        background-color: $hoverColor;
        color: white;
      }
    }
  }

  .my-dropdown {
    position: relative;

    &:hover {
      ul {
        display: unset;
      }
    }

    ul {
      position: absolute;
      border: 1px solid #dddddd;
      border-bottom-right-radius: 10px;
      border-bottom-left-radius: 10px;
      list-style: none;
      background-color: white;
      top: 34px;
      padding-left: 0;
      box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
      display: none;
      z-index: 2;

      li {
        width: 100%;
        cursor: pointer;

        &:hover {
          background-color: #dddddd;
        }

        a {
          width: 100%;
          padding: 8px 30px;
          display: block;
          height: 100%;
          color: #343a40;
          white-space: nowrap;

          &:hover {
            text-decoration: unset;
          }
        }

      }

    }
  }
}
